Cs 242: Operating Systems Transactions 2 Transaction Models

نویسنده

  • Prasun Dewan
چکیده

In our discussion of mutual exclusion so far, we have considered atomic access to a single object. What if we wish to atomically access multiple objects. For instance, what if we wish to atomically remove an item from the input buffer and put it in the echo buffer? The high-level constructs such as monitors and path expressions do not give users of shared objects flexibility in defining the unit of atomicity. They expect the programmers of shared objects to define the unit of atomicity. But the programmers do not know which other objects may be accessed concurrently (by object users) with the objects they are programming. Lowlevel mechanisms such as semaphores are not bound to a particular object, and thus can be used to provide multi-object atomicity. But these are hard to use and special care must be taken to ensure deadlocks are prevented. Thus, what is needed is a higher-level abstraction for ensuring atomic access of multiples shared objects. The transaction is such an abstraction. Trsnsaction models have been developed in the context of database management systems, operating systems, CAD tools, collaborative software engineering, and collaboration systems. We will focus here on the operating system models and the classical database models on which they are based. Trsnsactions do not address both aspects of process coordination they addresses mutual exclusion but not synchronization. However, in the context of transactions, ensuring mutual exclusion is called synchronization, which should not be confused with the producer-consumer synchronization we have seen so far.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Communication Support in Operating Systems for Distributed Transactions

This paper describes the communication functions required for distributed transaction processing. The paper begins with a discussion of models that illustrate how a communication subsystem fits into a proposed system architecture. Then, it describes the system and user activities that depend on the communication subsystem. Finally, it uses these activities to motivate the facilities that should...

متن کامل

Enhancing the Success Ratio of Distributed Real-Time Nested Transactions

The traditional transaction models are not suited to real-time database systems (RTDBSs). Indeed, many current applications managed by these systems necessitate a kind of transactions where some of the ACID properties must be ignored or adapted. In this paper, we propose a real-time concurrency control protocol and an adaptation of the Two-Phase Commit Protocol based on the nested transaction m...

متن کامل

On Transactional Work ows

The basic transaction model has evolved over time to incorporate more complex transactions struc tures and to take the advantage of semantics of higher level operations that cannot be seen at the level of page reads and writes Well known examples of such extended transaction models include nested and multi level transactions A number of relaxed transaction models have been de ned in the last se...

متن کامل

Approximate Analysis of Real-Time Database Systems

During the past few years, several studies have been made on the performance of real-time database systems with respect to the number of transactions that miss their deadlines. These studies have used either simulation models or database testbeds as their performance evaluation tools. We present here a preliminary analytical performance study of real-time transaction processing. Using a series ...

متن کامل

Analyzing the Impact of Dynamic Pages on the Performance of Web Servers

Dynamic Web pages have a fundamental role in electronic commerce and intranets, where information changes constantly and needs immediate and automatic update. Despite this fact, little work has been done on the analysis and characterization of the effects of dynamic content on the performance of Web servers. Based on this fact, this paper presents a series of experiments to compare performance ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2006